package com.letoken.platform.pub.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 *
 * @author wyl
 * @date 2023/1/31 16:40
 * @Version 1.0
 */
@Getter
public enum NetTypeEnum {

    /**
     * 代币
     */
    NULL(0, "无"),
    MASTER(1, "主网"),
    TEST(2, "测试网"),
    ;

    @EnumValue
    private final Integer id;
    @JsonValue
    private final String name;

    NetTypeEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
